import { Module } from '@nestjs/common';

import { TypeOrmModule } from '@nestjs/typeorm';
import { JwtUtils } from '../01_auth/jwt.utils';
import { IBaseService } from '../00_base/IBaseService';
import { JwtService } from '@nestjs/jwt';
import { IBaseEntity } from '../00_base/IBaseEntity';
import { OrgController } from './org.controller';
import { OrgService } from './org.service';
import { SysOrg } from './entities/org.entity';
// import { SysRoleMenu } from './entities/role.menu.entity';

@Module({
  imports: [TypeOrmModule.forFeature([IBaseEntity, SysOrg])],
  controllers: [OrgController],
  providers: [OrgService, JwtService, IBaseService, JwtUtils],
  exports: [OrgService],
})
export class OrgModule { }
